//
//  UISearchBarExtension.swift
//  zhende
//
//  Created by chenliang on 2016/12/21.
//  Copyright © 2016年 chenliang. All rights reserved.
//

import UIKit

extension UISearchBar{
    
    func yy_setCancelTitle(title: String)  {
        
        let uiButton = self.value(forKey: "cancelButton") as! UIButton
        uiButton.setTitle(title, for: .normal)
    
    }
    
}
